<script type="text/javascript">
//激活table控件
<c:choose> 
<c:when test="${dlgFlag==1}">
	$("#lookup-data-table").bootstrapTable();
</c:when>
<c:otherwise>
	//console.debug("${dlgFlag==1}",$("#data-table"));
	
	$("#data-table").bootstrapTable();
	function del(id){
		$("#data-table").bootstrapTable('del',id);
	}
	$('.date-range').each(function(){$(this).daterangepicker()});
</c:otherwise>
</c:choose>

//激活联想输入控件
if ($.fn.suggest) $("input[searchClass]").suggest();

//激活列表选择控件
if ($.fn.lookupback) $("span[lookupUrl]").lookupback();

//激活多选下拉框
$('.selectpicker').each(function () {
    var $selectpicker = $(this);
    $selectpicker.selectpicker();
});
</script>
